home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7980 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: news.microsoft.com!news
  2. From: a-cnadc@microsoft.com (Dann Corbit)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: My last chance....Format Routine
  5. Date: 29 Feb 1996 23:36:33 GMT
  6. Organization: Microsoft Corporation
  7. Message-ID: <4h5da1$30b@news.microsoft.com>
  8. References: <1996Feb29.091821.1500@es.dupont.com>
  9. NNTP-Posting-Host: 157.57.171.202
  10. Mime-Version: 1.0
  11. X-Newsreader: WinVN 0.93.14
  12.  
  13. In article <1996Feb29.091821.1500@es.dupont.com>, MALCOLM.SMART@CONOCO.DUPONT.COM says...
  14. >
  15. >I've posted this to the COMP.OS.DOS etc groups with no joy.  
  16. >
  17. >Does anyone know of a c routine to format a floppy disk?  My client 
  18. >wishes to remove program manager from the windows setup, but still wishes 
  19. >to allow users to format floppies.
  20. >
  21. >Any info appreciated
  22. >
  23. >--Malc
  24. >
  25. >--My own questions and not those of my employer
  26. >
  27.     system("format a:");
  28. or
  29.     system("format b:");
  30.  
  31. If the computer has a subst or assign command, they
  32. could be formatting a local hard drive.
  33. -- 
  34. The opinions expressed in this message are my own personal views
  35. and do not reflect the official views of Microsoft Corporation.
  36. In fact, I'm just a subcontractor, not an employee, so pull in your claws.
  37.  
  38.